/*
Copyright(c) 2008 Jari Kemppinen <jari@viddem.com>

This example was built upon the PureMVC Framework by Cliff Hall.
http://www.puremvc.org
This example uses the Java PureMVC Framework Version 0.2

Please contribute to the PureMVC community.

License
-------
Your reuse is governed by the Creative Commons Attribution 3.0 license.
*/

package org.lbroussal.client.controller;

import org.lbroussal.client.model.ItemDataProxy;
import org.lbroussal.client.model.UserDataProxy;
import org.puremvc4gwt.client.interfaces.INotification;
import org.puremvc4gwt.client.patterns.command.SimpleCommand;

/**
 * Frmk: application assembly
 * This must always exist to register all data scopes, even if uninitialized,
 * for a user scope for example.
 */
public class PrepModelCommand extends SimpleCommand
{
    public void execute(INotification notification)
    {
        this.facade.registerProxy(new ItemDataProxy());
        this.facade.registerProxy(new UserDataProxy());
    }
}